package com.cgame.vo;

public class Witch extends Role{
	public boolean hasPoison=true;
	public boolean hasHeal=true;

	public Witch(){
		this.isGod=true;
		this.isGood=true;
		this.rolename="女巫";
	}
	//毒药
	public Witch poison(Player player){
		player.iskilled=true;
		hasPoison=false;
		if(player.role.rolename.equals("猎人")){
			((Hunter)player.role).canShoot=false;
		}
		return this;
	}
	//解药
	public Witch heal(Player player,boolean isGuard) {
		if(!isGuard){
			player.iskilled=false;
		}
		hasHeal=false;
		return this;
	}
}
